package com.iqiyi.pps.epg.web.utils;

import com.iqiyi.pps.epg.core.utils.ApplicationContextUtil;
import com.iqiyi.pps.epg.web.service.base.WebFacadeManager;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 * User: fangying
 * Date: 12-5-31
 * Time: 下午2:15
 * To change this template use File | Settings | File Templates.
 */
@Component
@Lazy(value = false)
public class WebApplicationContextUtil extends ApplicationContextUtil {
    public static WebApplicationContextUtil getInstance() {
        return (WebApplicationContextUtil) context.getBean("webApplicationContextUtil");
    }

    public WebFacadeManager getFacadeManager() {
        return (WebFacadeManager) context.getBean("webFacadeManager");
    }

}
